package com.tencent.wxcloudrun.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author lichongbing
 * @version 1.0.0
 * @createdate 2023/3/3 23:54
 * @description: TODO
 */
@Data
@ApiModel(value = "加入购物车参数请求封装")
public class ShippingCarInfoAddItemRequest {
    @ApiModelProperty(value = "商品id", required = true)
    private String goodsId;
    @ApiModelProperty(value = "购买数量", required = true)
    private Integer number;
    @ApiModelProperty(value = "商品的可选配件信息,如: [{\"id\":869,\"pid\":1699},{\"id\":871,\"pid\":1588}]", required = true)
    private List<GoodsAddition> goodsAddition;
    @ApiModelProperty(value = " @ApiModelProperty(value = \"商品id\", required = true)", required = true)
    private List<Sku> sku;
    @ApiModelProperty(value = "自定义购物车类型，可用来区分多个购物车", required = true)
    private String type;
}
